package com.um.jdy.common.shop.code;

import com.um.springboot.starter.utils.EnumUtil;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 邓南辉
 * 日期 2023/2/14
 * 版权所有 广州优匠科技有限公司
 */
@Getter
@AllArgsConstructor
public enum ShopOrderCode implements EnumUtil.ErrorEnum {

    BuyerShowLackMedia(30001,"发布买家秀失败，请上传图片或视频！"),
    CommentFaild(30002,"评论失败"),
    CommentNotExist(30003,"评论不存在"),
    StockLack(30004, "库存不足"),
    OrderGoodsNotExist(30005, "订单商品不存在"),
    AddressNotExist(30006, "收货地址不存在"),
    GiftGoodsNotExist(30007, "赠品不存在"),
    OrderNoExist(30008,"订单不存在！"),
    OrderIsNotUnSend(30009,"订单状态不是待发货，不能发货！"),
    CancelFailureForPayed(30010,"取消失败，该订单已付款"),
    OrderAftersaleNoExist(30011,"售后订单不存在！"),
    AgreeFailureForNotUnreview(30012,"已审核，同意售后失败！"),
    RefuseAftersaleFailure(30013,"拒绝售后失败："),
    DeliveryFailureForNotUnsend(30014,"发货失败：订单状态不是待发货："),
    OrderStatusIsUnSendOrUnReceive(30015,"订单状态需要为待发货或待收货才能修改物流！"),
    NotSupportReturn(30016,"不支持退换货！"),
    NotSupportAddress(30017,"不支持配送该地址！"),

    ;


    private Integer code;
    private String msg;


}